home *** CD-ROM | disk | FTP | other *** search
- Path: news.nevada.edu!not-for-mail
- From: kesslert@nevada.edu (Troy Kessler)
- Newsgroups: comp.lang.c++
- Subject: Need Help With CSC Homework
- Date: 16 Feb 1996 02:41:40 GMT
- Organization: University of Nevada System Computing Services
- Message-ID: <4g0qt4$o0@news.nevada.edu>
- NNTP-Posting-Host: unauthenticated_user@pioneer.nevada.edu
- X-Newsreader: TIN [UNIX 1.3 950520BETA PL0]
-
- Pmain.cpp
-
- //*************************************************
- //** ROMAIN.CPP **
- //*************************************************
- //** This program will add, subtract, multiply, **
- //** and divide roman numbers. The numbers are **
- //** assumed to be less than 20 characters long. **
- //** The roman numbers should not be inputed in **
- //** subtraction form. Examples - IV=6 IIII=4 **
- //*************************************************
- #include <iostream.h> //for cin and cout
- #include "p.h" //has typedef and fuction prototypes
- int main(void) //start main
- {
- Romantype numberk; //first roman number
- Romantype numbertwo;
- Romantype answerr;
- cin>>numberk; //input menu choice
- cin>>numbertwo;
- numberk+numbertwo;
- return 0;
- }
-
-